<?php
/**
 * MediaCategory 树状列表
 */
class ListTreeMediaCategories extends CWidget {
    public function run() {
        $datas = MediaCategory::model()->getCTreeViewDatas(1, 'media/list');
        $this->render('ListTreeMediaCategories', array('datas' => $datas));
    }
}
